package org.erepublik.company.searchCriteria;

import org.erepublik.company.EAlliance;

public enum EAllianceSearchCriteria {
    ALL("All countries", new EAlliance[]{ EAlliance.EDEN, EAlliance.PHOENIX, EAlliance.NEUTRAL, EAlliance.NEW_COUNTRIES } ),
    EDEN("Eden countries", new EAlliance[]{ EAlliance.EDEN } ),
    PHOENIX("Phoenix countries", new EAlliance[]{ EAlliance.PHOENIX} ),
    NEUTRAL("Neutral countries", new EAlliance[]{ EAlliance.NEUTRAL, EAlliance.NEW_COUNTRIES } ),
    NEW_COUNTRIES("6 new countries", new EAlliance[]{ EAlliance.NEW_COUNTRIES } ),
    EDEN_NEUTRAL("Eden and neutral countries", new EAlliance[]{ EAlliance.EDEN, EAlliance.NEUTRAL, EAlliance.NEW_COUNTRIES } ),
    PHOENIX_NEUTRAL("Phoenix and neutral countries", new EAlliance[]{ EAlliance.PHOENIX, EAlliance.NEUTRAL, EAlliance.NEW_COUNTRIES } );
    
    private String name;
    private EAlliance[] aliances;
    EAllianceSearchCriteria(String name, EAlliance[] aliances) {
        this.name = name;
        this.aliances = aliances;
    }
    
    public String getName() {
        return name;
    }  
    public EAlliance[] getAlliances() {
        return aliances;
    }
    
}
